package com.briup.dao;

import com.briup.bean.Collect;
import com.briup.bean.Shop;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ICollectDao{
	List<Shop> findByUserId(long id);
	void deleteByShopIdAndUserId(long shopId, long userId);
    Collect findByUserIdAndShopId(Long userId, Long shopId);
	void addShopToCollect(long userId,long shopId);
	void deleteCollectById(Long id);
}
